#pragma once
#include <Windows.h>
class Event
{
public:
	Event();
	virtual ~Event();

public:
	bool Wait(DWORD millis);
	void SetEvent();
	void ResetEvent();

private:
	HANDLE m_hEvent;
};

class TaskCall : public Event
{
public:
	virtual void UseCall() = 0;
};